<?php 

/* Aecoinbase */ 
if(Phpfox::isModule('aecoinbase')){
	if(!empty($aGateways)){  
		foreach($aGateways as $key => $aGateway){
			if(isset($aGateway['gateway_id']) && $aGateway['gateway_id'] == 'aecoinbase'){ 
				if(Phpfox::getParam('aecoinbase.aecoinbase_who_can_sell') == 'site' || Phpfox::getUserParam('aecoinbase.aecoinbase_can_sell') == false){
					unset($aGateways[$key]);
				}
			}
		}
	}
}

?>